<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="__ROOT__/Public/Admin/css/shortcut icon" href="favicon.ico">
    <link href="__ROOT__/Public/Admin/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__ROOT__/Public/Admin/css/animate.css" rel="stylesheet">
    <link href="__ROOT__/Public/Admin/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__ROOT__/Public/Admin/css/default.css" rel="stylesheet">
    <link href="__ROOT__/Public/Admin/css/official.css" rel="stylesheet">
    <link href="__ROOT__/Public/Admin/css/animate.css" rel="stylesheet">
    <script>
        var CC = {
            "PUBLIC":"__PUBLIC__",
            "ROOT":"__ROOT__",
            "APP":"__APP__",
        };
    </script>

    <style>
        .nav-tabs{
            margin-bottom: 20px;
        }
        .err-tip-color{
            color:#ed2a2a;
        }
        #content-main{height: calc(100%) !important;}
    </style>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <ul class="nav nav-tabs">
                <li class="active"><a href="#"><i class="fa fa-user"></i> 列表</a>
                </li>
                <?php if(true){?>
                <li class=""><a href="<?=U('Admin/Auth/add')?>"><i class="fa fa-plus"></i> 添加</a></li>
                <?php }?>
            </ul>
            <table class="table table-hover table-bordered table-list" id="menus-table">
                <thead id="thead">
                <tr>
                    <th width="50"></th>
                    <th width="50">序号</th>
                    <th width="200px">名称</th>
                    <th width="500px">规则</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                {$categorys}
                </tbody>
            </table>
        </div>
    </div>
</div>

<!-- End Panel Other -->

<script>
    var GV = {
        ROOT: "__ROOT__/",
        WEB_ROOT: "__ROOT__/",
        JS_ROOT: "Public/Admin/js/"
    };
</script>
<script type="text/javascript" src="__ROOT__/Public/Admin/js/jquery.min.js"></script>
<script type="text/javascript" src="__ROOT__/Public/Admin/js/wind.js"></script>
<script type="text/javascript" src="__ROOT__/Public/Admin/js/common.js"></script>
<script>
    $(document).ready(function() {
        Wind.css('treeTable');
        Wind.use('treeTable', function() {
            $("#menus-table").treeTable({
                indent : 20
            });
        });
    });

</script>
</body>
</html>